/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.integration;

import java.io.Serializable;
import model.dto.CompetenceListDTO;

/**
 *
 * @author Ahmed Salem
 */
public class CompetenceList implements Serializable,CompetenceListDTO{
    private String comp;
    Double yearsOfExp;
    
    /**
     *
     */
    public CompetenceList(){
    }
    
    /**
     *
     * @param com
     */
    public CompetenceList(String com,Double years){
        this.comp = com;
        this.yearsOfExp = years;
    }
    
    /**
     *
     * @param l
     */
    @Override
    public void setCompetence(String l){
        this.comp = l;
    }
    
    /**
     *
     * @return
     */
    @Override
    public String getCompetence(){
        return comp;
    }
    
      @Override
    public void setYearsofExp(Double l){
        this.yearsOfExp = l;
    }
    
    /**
     *
     * @return  YearsOfExperience 
     */
    @Override
    public Double getYearsofExp(){
        return yearsOfExp;
    }
}
